package handlers

import (
	"earth/models"

	"github.com/gin-gonic/gin"
)

type PolicyHandler struct {
	BaseHandler
}

func (u *PolicyHandler) GetAllPolicies(c *gin.Context) {
	policies := models.GetPolicies()
	c.JSON(200, policies)
}
